import time

from django.db import models


class User(models.Model):
    name = models.CharField(max_length=50, verbose_name='用户名')
    password = models.CharField(max_length=200, verbose_name='密码')
    create_date = models.DateTimeField(default=time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()),
                                       verbose_name='创建时间')
    is_delete = models.BooleanField(default=False, verbose_name='是否删除')
